<%--                                                                       --%>
<%-- Copyright (c) 2004-2005 BroadVision, Inc.  All rights reserved.       --%>
<%--                                                                       --%>
<%-- This software is copyrighted. Under the copyright laws, this software --%>
<%-- may not be copied, in whole or in part, without prior written consent --%>
<%-- of BroadVision, Inc. or its assignees. This software is provided      --%>
<%-- under the terms of a license between BroadVision and the recipient,   --%>
<%-- and its use is subject to the terms of that license.                  --%>
<%--                                                                       --%>
<%-- This software may be protected by one or more U.S. and International  --%>
<%-- patents.  Certain applications of BroadVision One-To-One software are --%>
<%-- covered by U.S. patent 5,710,887.                                     --%>
<%--                                                                       --%>
<%-- TRADEMARKS: BroadVision and BroadVision One-To-One are registered     --%>
<%-- trademarks of BroadVision, Inc., in the United States and the         --%>
<%-- European Community, and are trademarks of BroadVision, Inc., in other --%>
<%-- countries.  The BroadVision logo, is a trademark of BroadVision,      --%>
<%-- Inc., in the United States and other countries. Additionally, IONA    --%>
<%-- and Orbix are trademarks of IONA Technologies, Ltd.  RSA, MD5, and    --%>
<%-- RC2 are trademarks of RSA Data Security, Inc.                         --%>
<%--                                                                       --%>

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
<%@ taglib uri="/WEB-INF/struts-bean-el.tld" prefix="bean-el" %>

<script language="JavaScript">

function doOneUserTemplateEditAction(form) {
  form.action = "<c:url value="/ep/userTemplateColorsEdit.do"/>";
  form.submit();
}

</script>

<table class="zoneFive" width="100%" border="0" cellspacing="0" cellpadding="0" summary="content area">
  <tr>
    <td valign="top" width="100%">
      <div class="pageTitle">
        <bean-el:message key="ep.user.template.view.page.title" arg0="${userTemplateColorsView.map.name}" bundle="ep.messages"/>
      </div>
      <div class="errorMessage"><html-el:errors bundle="ep.messages"/></div>
      <%@ include file="/mc/common/pagetab.jsp" %>

      <html-el:form action="/ep/userTemplateColorsEdit.do">
      <input type="hidden" name="userTemplateId" value="<c:out value='${param.userTemplateId}'/>"/>
      <input type="hidden" name="goBackAction"/>

      <div class="pageSubtitle">
        <span class="left">
          <bean-el:message key="ep.user.template.information" bundle="ep.messages"/>
        </span>
        <span class="right">
          <input type="submit" class="inputButton" value="<bean-el:message key="button.edit" bundle="ep.messages"/>">
        </span>
      </div> 

      </html-el:form>

      <table class="labelForm" width="100%" border="0" cellspacing="0" cellpadding="0" summary="<bean-el:message key='ep.page.types' bundle="ep.messages"/>">
        <tr> 
          <td class="label" width="30%">
            <bean-el:message key="ep.user.template.colors.primary" bundle="ep.messages"/>:
          </td>
          <td class="labelField" width="70%">
            <c:out value="${userTemplateColorsView.map.primarybackgroundColor}"/>
          </td>
        </tr>
        <tr> 
          <td class="label" width="30%">
            <bean-el:message key="ep.user.template.colors.primary.text" bundle="ep.messages"/>:
          </td>
          <td class="labelField" width="70%">
            <c:out value="${userTemplateColorsView.map.primarycolor}"/>
          </td>
        </tr>
        <tr> 
          <td class="label" width="30%">
            <bean-el:message key="ep.user.template.colors.secondary" bundle="ep.messages"/>:
          </td>
          <td class="labelField" width="70%">
            <c:out value="${userTemplateColorsView.map.secondarybackgroundColor}"/>
          </td>
        </tr>
        <tr> 
          <td class="label" width="30%">
            <bean-el:message key="ep.user.template.colors.secondary.text" bundle="ep.messages"/>:
          </td>
          <td class="labelField" width="70%">
            <c:out value="${userTemplateColorsView.map.secondarycolor}"/>
          </td>
        </tr>
      </table>
    </td> 
  </tr>
</table>
